I think it is mentioned in the legislation adopted in Europe.
In any case, there are already certain agreements in place. For instance, YouTube has concluded agreements with SOCAN, but only for the part that is monetized through advertising. When protected content is not used in advertising, rights holders do not receive any revenue. You have to remember that YouTube benefits from this all the same because it retains data, attracts users, and organizes content. It does all kinds of things, but pays nothing for the content.