Tribune Co. is purchasing the music metadata firm Gracenote: A $170 million agreement with Sony Corp. of America