What licensing issues? It's your phone, your data. I don't think Apple gets to say what you get to do with your data on your phone. If it was on Apple's servers, maybe they would have a case.
Plus, it's data that Apple shouldn't have been storing (in its current state, anyway) in the first place.
Plus, it's data that Apple shouldn't have been storing (in its current state, anyway) in the first place.