2. If after the filing of a complaint a defendant voluntarily changes the ordinance, regulation, measure, directive, rule, enactment, order, or policy, written or unwritten, promulgated or caused to be enforced in violation of this section, with or without court action, the plaintiff is considered a prevailing plaintiff for purposes of this section.
Interest on the sums awarded pursuant to this subsection shall accrue at the legal rate from the date on which suit was filed.