In any prosecution for a sexual offense or inchoate offense to a sexual offense, upon motion of the prosecuting attorney and after notice to opposing counsel, the court may, for good cause shown, allow the presence of the parent, stepparent, guardian, custodian, or other person with custody of an alleged minor victim of a sexual offense or inchoate offense to a sexual offense during the examination and cross-examination of the minor at any hearing, deposition, or trial.