Notification access is the only way Android lets one app see what another app is playing. The Play Store version of Carrio only looks at the YouTube and YouTube Music apps: the title, the channel, the length, where you are and whether it's playing. That goes to your own PC when you tap, and nowhere else, though your PC may look the video up on YouTube.
It can also pause YouTube on your phone once your PC plays it, and a setting switches that off. And it's optional: sending things from your PC, Share and Copy paste all work without it.
Android's warning talks about reading all your notifications, which sounds scarier than this. Carrio only looks at the YouTube apps and ignores the rest. The app explains all this before Android's switch, and Not now skips it.
YouTube's app only shares the title and channel, not which video it is, so for this your PC has to look the video up, and now and then it shows you YouTube's results to pick from. Sharing never needs that, because the link already says which video it is.