A Canadian oil rig is seen in this June 29, 2000 photo in contested waters on the Atlantic coast. The oil company, Toronto-based CGX Energy Inc., was about to begin drilling in a concession granted by Guyana. Suriname's simmering border dispute with Guyana flared June 3, 2000 when Surinamese navy boats forced the oil rig out of the contested waters. Surinamese President Jules Wijdenbosch vowed to take a border dispute with Guyana before the United Nations and other international bodies. (AP Photo/Ken Moore)

(AP Photo/Ken Moore)

WASHINGTON — Congress has passed legislation ending an Obama-era regulation that’s required oil and gas companies to disclose payments to the U.S. or foreign governments for commercial development.

The Senate gave final congressional approval to measure Friday 52-47 in an unusual vote that began before dawn.

President Donald Trump is expected to sign the bill. It represents an initial Republican swipe at the 2010 Dodd-Frank law curbing Wall Street that President Barack Obama and Democrats enacted following the 2008 financial crisis.

Republicans say the regulation gives foreign competitors valuable information about U.S. firms and would hurt the economy.

Democrats tied the move to Exxon Mobil, headed until recently by Rex Tillerson, Trump’s secretary of State. They said killing the regulation would let big firms hide questionable dealings with foreign governments like Russia.