[identity] check that prekeys are formatted correctly
Summary:
use the same helper function as in previous diff to make sure keys are formatted correctly
Depends on D11657
Test Plan: commtest
Reviewers: bartek
Reviewed By: bartek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11658