That’s not really changing anything with regards to how the mechanism of sharing works.
Both of your accounts are registered and authenticated by plex.tv — that includes that you’ve connected with them „as friends“.
Consider it a „phone book“ / index.
The sharing itself happens between their client and your server… based on that index.