decodeObjectIdBytes
Decodes this value as the bytes of an ObjectId.
Prefer using decodeObjectId, which offers utilities to access its different components, like ObjectId.timestamp.
Throws
If the value is not a BsonType.ObjectId.