The team behind Content ID on YouTube have just opened the doors to their Audio Library, making it super simple to make certain the content you're uploading won't be ...
The official way to use copyrighted music on YouTube is through YouTube Studio > Audio library. The audio library includes free music and sound effects, some of which don't even require attribution.