rust-guard: remove hot-path scope/integrity allocations via Cow<str> and zero-alloc rank matching
#5754
+128
−16
Cow<str> and zero-alloc rank matching
#5754