Former deputy pleads guilty to child rape