I would suggests sending in the parameters as references instead, and probably the query params as const & since the trace should not change them just read.
I would suggests sending in the parameters as references instead, and probably the query params as const & since the trace should not change them just read.