In these cases, the strings are treated as views anyways, so we can use them here to avoid potential allocations.