David Pecker, chairman of American Media Inc., which publishes the National Enquirer, cut an immunity deal in the Michael Cohen case.