; and (B) by adding at the end the following: (B) In the case of a use or disclosure of the content of a substance use disorder patient record for purposes of treatment, payment, or health care operations as provided for under subsection (c), no further disclosure or re-disclosure of such record is allowed to initiate or substantiate any criminal charges against a patient or to conduct any investigation of a patient. (2) Exclusionary effect and dismissal Any content of a substance use disorder patient record that has been mistakenly, wrongfully, or intentionally used or disclosed to initiate or substantiate any criminal charges against a patient or to conduct any investigation of a patient in violation of paragraph (1)— (A) shall be excluded from evidence in any proposed or actual proceedings relating to such criminal charges or investigation; and (B) absent good cause shown, shall result in the automatic dismissal of any proceedings for which the content of the record was offered. ; (7) in subsection (h), as so redesignated— (A) by striking subsection (h) and inserting subsection (i) ; and (B) by striking , including procedures and criteria for the issuance and scope of orders under subsection (b)(2)(C), ; and (8) in subsection (i), as so redesignated, by striking subsection (g) and inserting subsection (h) .