US Congress passes bill forcing tech companies to disclose foreign software probes