There is not generally a right to confidentiality of information you share with a third party. There are a few exceptions (spouses, doctors, lawyers, among others). If party A shares information with party B outside one of these protected relationships, then I guess A's rights will not be violated if their information is discovered in party B's possession, whether or not party B shares that information voluntarily. (All subject to the search of B's information being constitutional.)