Rename longest common string to longest common prefix