An easy way to bond the chassis of the AVR and sub is to connect a wire from the sub's RCA plug at the AVR to the ground screw, then connect a wire from the RCA plug at the other end to the lock nut on one of the controls on the sub- it will be easier if you have a second person for this. If the hum stops, find a way to make this connection permanent.
The other way is by using an isolation transformer- these can be bought from Jensen Transformers (the most expensive, but arguably the best),Ebtech, Edcor and others.
The first step is to find out how much voltage you can measure between the AVR and sub. If this is caused by an electrical problem (reversed hot & neutral, resistance on the neutral or hot, etc), that should be addressed, rather than using some kind of band aid- those should be the first on the list because they're safety risks.