pub fn decode_broker_id(encoded: &str, broker_id: &str) -> StringExpand description
Decodes an encoded string back to the original ClientOrderId value.
If the string starts with a known broker prefix, the payload is decoded and the original ID is reconstructed. Strings without a recognized prefix are returned as-is for backward compatibility.