A typical method for mitigating common mode noise is to use a common mode choke and a capacitor between line and earth ground.