Fix sensor_fuzzer crash

The fuzzer itself use std::string("xxx").c_str()
which std:string will be out of scope immediately
Causing the c_str pointing to data already free

Test: sensor_fuzzer
Bug: 242089424
Change-Id: I42865b12b8a208ffa48a7c3cc7cadd505e47c1c0
1 file changed