(a) Except as otherwise provided in this Code section, any officer or employee of the state or any agency thereof who receives from any private person, firm, or corporation funds or other things of value to be used in the enforcement of the penal laws or regulations of the state is guilty of a misdemeanor.
(b) Except as otherwise provided in this Code section, any officer or employee of a political subdivision who receives from any private person, firm, or corporation funds or other things of value to be used in the enforcement of the penal laws or regulations of the political subdivision of which he is an officer or employee is guilty of a misdemeanor.
(c) Nothing contained within this Code section shall be deemed or construed so as to prohibit any law enforcement officer of the state or any political subdivision thereof:
(1) From being employed by private persons, firms, or corporations during his off-duty hours when such employment is approved in writing by the chief or head, or his duly designated agent, of the law enforcement agency by which such law enforcement officer is employed; or
(2) From soliciting for or accepting contributions of equipment or of funds to be used solely for the purchase of equipment to be used in the enforcement of the penal laws or regulations of this state or any political subdivision thereof when such acceptance is approved in writing by the chief or head, or his duly designated agent, of the law enforcement agency by which such law enforcement officer is employed.