When Taylor Swift was stepping onto the mainstream pop-music scene in her early 20s, the public wasn’t too kind to her.