The House vote was 264 to 159 in favor of the legislation, with 48 Democrats voting with all the Republicans in support.