Certain elected officials of the county shall be covered under the county's workers' compensation policy. While performing their elected duties, the board of commissioners, sheriff, probate judge, magistrate judge, state court judge, solicitor, tax commissioner, clerk of court, and coroner shall be covered under the state workers' compensation laws.