ObjPtr<>-ify entrypoint utils. am: 4bb2af5e61
am: bedcd43299

Change-Id: If4a0334429e33d4e10738ed1bea9d88aeba0e25f