For cases that have not yet been disposed, the court shall set a hearing date for the motion within 10 business days of the motion's filing and the moving party shall notify both the State and defendant of the motion and hearing. For cases that have previously been disposed, the court shall set a hearing date for the motion within 20 business days of the motion's filing and the moving party shall notify both the State and the defendant of the motion and hearing. The victim or alleged victim, the State, and the defendant shall have a right to be heard at the hearing.
In ruling on a motion for victim confidentiality under this subsection, the court shall at a minimum consider each of the following:
If the court grants a motion for victim confidentiality under this subsection, the victim or alleged victim shall retain all protections afforded to victims and alleged victims under subsection (a) of this section, provided that nothing shall restrict the court, the State, or the defendant from accessing this information during the pendency of the case or for purposes of appeal following a disposition in the case. The granted motion shall only apply to information within the file of the criminal case pursuant to which the granted motion was filed and shall specify which information shall be confidential pursuant to this subsection.
N.C. Gen. Stat. § 14-43.17