Every member of the Police Department shall appear as witness whenever necessary in a prosecution for a violation of any law or of any State or Federal law. No such member shall retain any witness fee for service as witness in any action or suit to which the City is a party; any fees paid for such services shall be turned over to the Chief of Police, who shall deposit the same with the Treasurer. (1962 Code)