An agency of the state or a political subdivision may not enter into a settlement agreement with a party to any civil action or proceeding involving a claim for monetary damages or equitable relief in which the settlement agreement requires nondisclosure or confidentiality of the terms of the settlement. A settlement agreement under this section is a public record as defined under §