Any person who is aggrieved or potentially aggrieved by a violation of this part, Chapter 7 (commencing with Section 4450) of Division 5 of Title 1 of the Government Code, or Part 5.5 (commencing with Section 19955) of Division 13 of the Health and Safety Code may bring an action to enjoin the violation. The prevailing party in the action shall be entitled to recover reasonable attorney’s fees.