Among the parliamentary privileges that the House and its committees have, there is the right to send for records and papers. Parliamentary privileges, in general, are rooted in the Constitution and have constitutional status, so they will prevail over ordinary legislation that would provide that information is to be kept confidential or secret unless there's an explicit provision to the contrary.
Documents that could be sought and obtained by committee include solicitor-client privilege, documents dealing with national security....
Now, if there is some concern about the production of documents, there could be a dialogue between the committee and the government or the other party that is in possession of the documents. The committee could decide to put measures in place to protect the confidentiality of the documents, could insist on its original request, or could decide not to ask for the production of the documents.
Ultimately, it's for the committee to decide.