Utilize `PartialEq<str> for String` where possible