A lot of what the NSA has was collected illegally under the previous administrations. Yes Q team is using that info. That's how they know everything. The problem is they can not use it in a court of law. This is one of the reasons the plan is taking so long they have to do investigations by the book. Everything they do are doing is by the book following the law.