gen: use C++ strings

Signed-off-by: Alberto Corona <alberto@0x1a.us>
profile: use C++ strings

Signed-off-by: Alberto Corona <alberto@0x1a.us>