Rather than using mojom to encode pointer data, we now encode and decode it manually. A future patch will remove the mojom codepath once the framework is updated.