[clang-tidy] Fix clang-tidy errors and format code Fix the following readability-* errors: readability-avoid-const-params-in-decls readability-redundant-string-init More details in b/375055000 Also run openbmc_build_scripts/scripts/format_code.sh to pass presubmit. Change-Id: Ia5ee9ba75025ed259ed99d624c0e5ccb9aca7058 Signed-off-by: David Tang <davtang@google.com>