In all criminal proceedings involving a victim or witness with a cognitive disability, the court and the prosecution shall take appropriate action to ensure a prompt trial in order to minimize the length of time the victim or witness must endure the stress of the victim's or witness's involvement in the proceedings. In ruling on any motion or other request for a delay or continuance of proceedings, the court shall consider and give weight to any adverse impact such delay or continuance might have on the well-being of any victim or witness with a cognitive disability.