Enable `clippy::borrow_deref_ref` (#8894)

This PR enables the
[`clippy::borrow_deref_ref`](https://rust-lang.github.io/rust-clippy/master/index.html#/borrow_deref_ref)
rule and fixes the outstanding violations.

Release Notes:

- N/A
b6af393e6dMarshall Bowers committed on 3/5/2024, 5:24:54 PM· committed by GitHubparenta25edcc
13 files changedLine totals unavailable