What precautions are cruise lines taking to protect people against pirates?

rachel_ann_82 asked:

I know it’s a silly question, but my boyfriend and I are considering taking a cruise this summer, but with pirate attacks on the rise recently, we’re a tad iffy about it.

What are cruise lines doing to keep people safe?
Yes, I know most attacks are near Somalia, but it still is something to think about!
The cruises we’d be interested in would be heading out toward Central and South America.