The sanitary inspection agent from DEH, or the independent environmental health inspection company(s), shall be guilty of a felony if he or she solicits, accepts or agrees to accept any benefit from another person as consideration for his or her performance of an official function. A person is guilty of a felony if he or she offers, or agrees to offer, any benefit to the sanitary inspection agent as consideration for such sanitary inspection agent’s performance of an official function.