Former interim sheriff pleads guilty to child porn