Could you move `const char *` to `String` and do the conversion here?
I think there will be some extra conversion compare to previous code but I think it's fine.