A two-tiered transcription regulation mechanism that protects germ cell identity