8. (1) No action or other proceeding for damages shall be commenced by a person who is or was the subject of a prosecution, in respect of any act done or omitted to be done in the performance or purported performance of a duty or authority in relation to the prosecution, against any of the following: