This chapter does not apply to any elected officers or to any employees of the state of Tennessee, except that this chapter applies to sheriffs under §38-8-111.