No county official, or deputy or clerk or employee of such official; and no commissioner for tax-forfeited lands or commissioner’s assistants, shall be directly or indirectly interested in any contract, work, labor, or business to which the county is a party or in which it is or may be interested or in the furnishing of any article to, or the purchase or sale of any property, real or personal, by, the county, or of which the consideration, price, or expense is payable from the county treasury. Nothing in this section shall prevent a person from receiving reimbursement from a county for providing licensed or tribally approved family foster care. This section does not prevent a coroner, deputy coroner, coroner’s investigator, or medical examiner from receiving compensation for professional services from a professional corporation or medical provider under contract to provide coroner services to a county. Any violation of the provisions of this section shall be a gross misdemeanor.