(a) Any officer or employee of the state or any agency thereof who asks for or receives anything of value to which he or she is not entitled in return for an agreement to procure or attempt to procure the passage or defeat the passage of any legislation by the General Assembly, or procure or attempt to procure the approval or disapproval of the same by the Governor, shall be guilty of a felony and, upon conviction thereof, shall be punished by a fine of not more than $100,000.00 or by imprisonment for not less than one nor more than five years, or both.
(b) Any officer or employee of a political subdivision who asks for or receives anything of value to which he or she is not entitled in return for an agreement to procure or attempt to procure the passage or defeat the passage of any legislation by the legislative body of the political subdivision of which he or she is an officer or employee shall be guilty of a felony and, upon conviction thereof, shall be punished by a fine of not more than $100,000.00 or by imprisonment for not less than one nor more than five years, or both.