(b) No county or town shall employ any officer, agent or person, whether such employee be elected or appointed, whose compensation shall in any way depend upon the apprehension or arrest of any person for reckless driving as defined in section twelve hundred twelve of this chapter. If any person be apprehended or arrested or haled before a magistrate for reckless driving as so defined, by any officer, agent or employee of any county or town who is so employed, the fact of such employment at the time shall be a defense to any charge made for reckless driving as defined in section twelve hundred twelve of this chapter.