(8)
(a) Any portion of an agreement or contract which has the purpose or effect of concealing information relating to the settlement or resolution of any claim or action against the state, its agencies, or subdivisions or against any municipality or constitutionally created body or commission is void, contrary to public policy, and may not be enforced. Any person has standing to contest an order, judgment, agreement, or contract that violates this section. A person may contest an order, judgment, agreement, or contract that violates this subsection by motion in the court that entered such order or judgment, or by bringing a declaratory judgment action pursuant to chapter 86.
(b) Any person having custody of any document, record, contract, or agreement relating to any settlement as set forth in this section shall maintain said public records in compliance with chapter 119.
(c) Failure of any custodian to disclose and provide any document, record, contract, or agreement as set forth in this section shall be subject to the sanctions as set forth in chapter 119.
This subsection does not apply to trade secrets protected pursuant to chapter 688, proprietary confidential business information, or other information that is confidential under state or federal law.