Prison officer arrested for oath violation