Democrats hope Republicans who voted against the legislation pay a political price in November.