Fix incorrect std::string object usage

Modifed the code to pass string data pointer
instead of the string object reference

Tested:
user password were tested with IPMI
commands and no crash were observed

Signed-off-by: gokulsanker <gokul.sanker.v.g@intel.com>
Change-Id: I12d96965cd8c91d6aa1d925ac55b22f31d08d2fe
1 file changed