If a court having jurisdiction under any criminal matter finds that the defendant in that criminal action or any other person connected in any way with the action has violated or is likely to violate N.J.S. 2C:28-5, N.J.S. 2C:29-3 or N.J.S. 2C:29-4 in regard to the pending offense, or that the defendant or other person has injured or intimidated or is threatening to injure or intimidate any witness in the pending offense or member of the witness' family with purpose to affect the testimony of the witness, the court may issue a protective order providing:
N.J.S. § 2C:28-5.1