(a)
No state or local governmental agency involved in the investigation or prosecution of crimes, or any employee thereof, shall require or request any complaining witness, in a case involving the use of force, violence, duress, menace, or threat of great bodily harm in the commission of any sex offense, to submit to a polygraph examination as a prerequisite to filing an accusatory pleading.
(b)
Any person who has been injured by a violator of this section may bring an action against the violator for his actual damages or one thousand dollars ($1,000), whichever is greater.