Structural Control of Endoplasmic Reticulum-associated Degradation