The President may waive for a period of not more than 12 months the application of sanctions under this subchapter with respect to an entity that is owned or controlled, directly or indirectly, by a foreign government or any political subdivision, agency, or instrumentality of a foreign government, if, not less than 15 days before the waiver is to take effect, the President certifies to the appropriate congressional committees and leadership that the foreign government is closely cooperating with the United States in efforts to prevent opioid trafficking.