(a) The sums provided for in section 42-20 shall be assessed and collected by the clerk or court officer charged with the duty of collecting monies arising from fines and forfeited bonds and shall be paid over to the board of commissioners of the county by the tenth day of the month following the month in which such sums are collected. Such sums paid over to the board of commissioners shall be deposited by the board of commissioners into a special account to be known as the county jail fund. (b) Any person whose duty it is to collect and remit the sums provided for in section 42-20 who fails and refuses to remit such sums by the date required by this section shall be guilty of a misdemeanor and shall be punished as provided by law.