Make EntityId->getPrefix private

Change-Id: Ie2e194468fdf3d259902ba2965d3d9aa45785ce3
Merge "Make EntityId->getPrefix private"