Switch StringRef::edit_distance over to using raw pointers, since both