Main menu > Options > sound > scroll all the way down to "transmission mode".
Transmission mode will remove all copyrighted songs in the game and replace them with GT5 and GT6 original soundtracks, it will also remove songs while racing.
Be aware that you can still get a copyright hit on YouTube even if you turn the mode on.
I'd mute all songs just to be sure.