Travers Smith, Cooley and Hogan Lovells are advising on Apple’s acquisition of music app Shazam for $400m (£340m.)