Notwithstanding the provision of any law to the contrary, the sheriff of any county may appoint a chief deputy or first assistant with the approval of the county board.