This video was making the rounds on the internets over the weekend. It depicts a skirmish between private security contractors aboard a merchant vessel and would-be pirates attacking said vessel. The contractors repel the pirates with force, saving the merchant vessel, its crew, and the contents of its hold from ransom.
This is the only way to deal with pirates. The mercurial political situation and rampant poverty affecting most countries that sponsor or are home to pirates are complicated issues that leave the citizens of said countries with few other options than to engage in illegal trafficking or piracy. Also, many of the governments of those countries realize that they can make tremendous profits by charging said pirates and smugglers for safe harbor.
In short, the only real true way to easily ensure the safe passage of a ship bearing the flag of the United States is to show the pirates that to trifle with a US flagged ship is lunacy and will end with their sure demise. And the only way to do that is have American warships sailing with consistent presence in said pirate-infested waters, providing forward presence and deterrence.
It worked for Stephen Decatur, it’ll work now.