The history of this bill goes back further. It passed the House in 2011 as HR 3012 [1].
Note that we are told that Trump is racist and his opponents are not, but a lot of lawmakers with an axe to grind against Indians with 150-year immigration wait times [2] are prominent democrats.
[1] https://www.congress.gov/bill/112th-congress/house-bill/3012
[2] https://www.cato.org/blog/150-year-wait-indian-immigrants-ad...