Wouldn't work. They would just host their servers in a country that doesn't really care what American law says.
If America couldn't shut the pirate bay they're not going to stop some backwater shit hole realising they can become a tech giant homebase by further relaxing their internet laws as soon as America does this.
Pretty sure they wouldnt ditch murica cus of the safe haven laws
Unless trump gets it repealed