Add functions to log trust query results handled by the TID server externally