; or (B) (i) the public interest in the disclosure of past, present, or potential public health or safety hazards is outweighed by a specific and substantial interest in maintaining the confidentiality of the information or records in question; and (ii) the requested order is no broader than necessary to protect the confidentiality interest asserted. (2) No order entered as a result of the operation of paragraph (1), other than an order approving a settlement agreement, may continue in effect after the entry of final judgment, unless at the time of, or after, such entry the court makes a separate finding of fact that the requirements of paragraph (1) continue to be met. (b) In any civil action in which the pleadings state facts that are relevant to the protection of public health or safety, a court shall not enforce any provision of an agreement between or among parties to a civil action, or enforce an order entered as a result of the operation of subsection (a)(1), to the extent that such provision or such order prohibits or otherwise restricts a party from disclosing any information relevant to such civil action to any Federal or State agency with authority to enforce laws regulating an activity relating to such information. (c) (1) Subject to paragraph (2), a court shall not enforce any provision of a settlement agreement in any civil action in which the pleadings state facts that are relevant to the protection of public health or safety, between or among parties that prohibits one or more parties from— (A) disclosing the fact that such settlement was reached or the terms of such settlement (excluding any money paid) that involve matters relevant to the protection of public health or safety