When ever you have more than one piece of equipment with a three pin grounded plug you will always be prone to this issue, what ever you do.
Personally I would just break the ground on the sub with the 3 to 2 adapter. The sub will still be grounded. If you are worried about a shock, just make sure you unplug your sub before disconnecting the sub signal cable.
In my view domestic equipment should not have three pin plugs, but two pin double insulated systems.
If you really want to avoid the hum, then you will have to link your two AC outlets with copper wire like this.
To avoid having to break grounds, the grounding of my system had to be painstakingly thought out, constructed and tested. No measurable resistance between a ground can be tolerated.
The wire in the AC cords has too high a resistance, so you have to bond the chassis of all equipment to the copper ground plane and the rack.
Recently I had a slight buzz. Despite really wrenching down all the grounds, I had just one connection increase resistance slightly, and it put a slight buzz though out the system. Finding the culprit was a time consuming task.
The ground system I use is one that was published in a paper by the Canadian Broadcasting System.
If you have the problem you are experiencing, the easiest solution is to make sure you have only one piece of equipment grounded. Preferably that should be the receiver, or in the case of a pre/pro power amp system, just the pre/pro.
Still problems will arise with cable connections and Internet connections.
In my case tying the cable system, my FM aerial, the phone/Internet grounds, and house ground was quite a task, but crucial.
My only other observation is that as system complexity increases the more challenging these issues become.