Section 8. The records of cases arising out of an action brought under the provisions of this chapter where the plaintiff or defendant is a minor shall be withheld from public inspection except by order of the court; provided, that such records shall be open, at all reasonable times, to the inspection of the minor, said minor's parent, guardian, attorney, and to the plaintiff and the plaintiff's attorney, or any of them.
The plaintiff's residential address, residential telephone number and workplace name, address and telephone number, contained within the court records of cases arising out of an action brought by a plaintiff under the provisions of this chapter, shall be confidential and withheld from public inspection, except by order of the court, except that the plaintiff's residential address and workplace address shall appear on the court order and accessible to the defendant and the defendant's attorney unless the plaintiff specifically requests that this information be withheld from the order. All confidential portions of the records shall be accessible at all reasonable times to the plaintiff and plaintiff's attorney, to others specifically authorized by the plaintiff to obtain such information, and to prosecutors, victim-witness advocates as defined in section 1 of chapter 258B, domestic violence victim's counselors as defined in section 20K of chapter 233, sexual assault counselors as defined in section 20J of chapter 233, and law enforcement officers, if such access is necessary in the performance of their duties. The provisions of this paragraph shall apply to any protection order issued by another jurisdiction, as defined in section 1, that is filed with a court of the commonwealth pursuant to section 5A. Such confidential portions of the court records shall not be deemed to be public records under the provisions of clause twenty-sixth of section 7 of chapter 4.