Electrically renewable and controllable oxygen getter