ARROW-9722: [Rust] Shorten key lifetime for dict lookup key
ARROW-9722: [Rust] Shorten key lifetime for dict lookup key

Closes #7953 from vertexclique/ARROW-9722-shorten-key-lifetime

Authored-by: Mahmut Bulut <87be653c4654fc06b867c1a442db4ca99a52339f@gmail.com>
Signed-off-by: Neville Dipale <4e1ab218b24f06847d563ff3773c7517c139f863@gmail.com>

kou/arrow,wesm/arrow,cpcloud/arrow,kou/arrow,apache/arrow,cpcloud/arrow,laurentgo/arrow,apache/arrow,apache/arrow,icexelloss/arrow,xhochy/arrow,cpcloud/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,laurentgo/arrow,wesm/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,laurentgo/arrow,xhochy/arrow,xhochy/arrow,cpcloud/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,laurentgo/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,apache/arrow,laurentgo/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,laurentgo/arrow,cpcloud/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,icexelloss/arrow,xhochy/arrow,kou/arrow,kou/arrow,xhochy/arrow,xhochy/arrow,cpcloud/arrow,cpcloud/arrow,laurentgo/arrow,wesm/arrow,xhochy/arrow,apache/arrow,icexelloss/arrow,wesm/arrow,laurentgo/arrow,xhochy/arrow,kou/arrow,cpcloud/arrow,xhochy/arrow,laurentgo/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,xhochy/arrow,wesm/arrow,xhochy/arrow,cpcloud/arrow,xhochy/arrow,apache/arrow,icexelloss/arrow,kou/arrow,cpcloud/arrow,icexelloss/arrow,apache/arrow,laurentgo/arrow,icexelloss/arrow,xhochy/arrow,xhochy/arrow,kou/arrow,xhochy/arrow,wesm/arrow,apache/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,apache/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,apache/arrow,laurentgo/arrow,kou/arrow,apache/arrow