Mastercard Inc.'s general counsel for North America has parted ways with the financial services giant and is taking over as the legal chief at Univision Holdings Inc.