In a rare showing of bipartisanship, the Senate voted 93 to 3 on Thursday to approve the Stop Trading on Congressional Knowledge (STOCK) Act, legislation that prohibits lawmakers and their staff from trading stocks based on information they learn during congressional briefings and related work.