Any sheriff, deputy sheriff, policeman, peace officer, warrant magistrate, or any other person who has the power to arrest or to hold another person in custody, or any public official or employee, who received a fee or rebate or receives or agrees to receive anything of value, including any stock or a beneficial interest in a surety or bail bond company, from any person engaged in the bail bond business, or from any person acting as the servant, agent, or employee of any person, firm, or corporation engaged in the bail bond business or otherwise engaged in the business of undertaking to act as surety on bail bonds, with an understanding, expressed or implied, that his or her actions, decisions, or judgement will be influenced thereby or that he or she will favor any person, firm, or corporation in the approval or disapproval of bail bonds or in granting access to any jail where prisoners are kept, shall be guilty of accepting a bribe and shall be punished as prescribed by Section 13A-10-61.