[(e)] (g) The state shall protect and save harmless any member of the special police [forces] force for any institution listed in subsection (a) of this section from financial loss and expense, including reasonable legal fees and costs, if any, arising out of any claim, demand, suit or judgment by reason of the alleged deprivation by such member of any person's civil rights, which deprivation was