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

Change-Id: Ia7ffb30295b8437982e96484a101d85dee45ae0c