Houses passes bill to prevent another Jan. 6