Ground loops can occur when "sharing" a ground.

But hey, I got good news you.

They actually invented something called a ground loop isolator.

It eliminates the ground loop. Outstanding isnt it?

And on the plus side, they are cheap.