Well, since we are talking about Google Play and apk files, licence key in this context is the KEYSTORE file, you did not specify that the licence key you generate has nothing to do with the licence key needed by the Google Play.
And why do you even called a licence key? Is more of an authentication key, or a unique ID, not a licence. Anyway, nevermind.