section 486.5(4)


486.5(4) An applicant for an order shall (a) apply in writing to the presiding judge or justice or, if the judge or justice has not been determined, to a judge of a superior court of criminal jurisdiction in the judicial district where the proceedings will take place; and (b) provide notice of the application to the prosecutor, the accused and any other person affected by the order that the judge or justice specifies.