The HU might be grounding out through its chassis. I'd also suggest pulling it from the dash and seeing if that eliminates the hum. If it's still there, it's the wiring. If it's gone, you need to insulate the mounting collar as it's touching metal and grounding somewhere.