Retaining ring for generator metal spring o ring metal seal ring