Switch mobile API to use opaque_keys lib