Support renaming project pid in datastores.

Change-Id: Idd86a0a7816bc7ed390d3c97afe12bb5dc9ded35