Create InstanceIdSequence only when necessary

Before InstanceIdSequence can be created whenever AppSessionId is
created. The change makes sure that InstanceIdSequence can only be
created when createNewId() is called.

Test: Manaully tested that the logs are still correct
Bug: 306655749
Flag: None
Change-Id: I8cd22f9e69e25d9210c27e721c08ba1c1cc61397
1 file changed