As used in section 44-08-17, “law enforcement officer” means any sheriff, sheriff’s deputy, police chief, policeman, fireman, and any investigator or detective employed by a political subdivision on a salaried basis to perform police duties.