I assume it was the socket that was installed, not the plug.
I don't think there's an official "right side up" or "upside down" for the NEMA 50A socket. What's done for RV's may be a loose convention, but is not code. The same socket is used for electric ranges and in that use often may get installed in any which-way due to space constraints and baseboards and so forth.
The hum is likely just the coil for the contactor inside the surge guard, and if so is not abnormal (and could have gotten louder if some mechanical part got ever so slightly looser over time). If you want to make sure the socket is wired properly, you can always verify the voltages manually with a meter.