Generally speaking such usages are not actionable unless the phrase is a trademark and it is obvious that you exploiting that trademark in a way that either damages the trademark holder or creates confusion over who owns the trademark. If it is an isolated reference, then it is fair use of the trademark.
For example, imagine you wrote a story that included the sentence. "Bob loved to read Spider-Man comic books and dressed up as Spider-Man all the time." Even though "Spider-Man" is a trademark of the Marvel company, they have no legal basis for preventing you from referring to the trademark in that way in a novel. If, however, you wrote a novel about Spider-Man, that would be a problem, because that could be seen as infringing on Marvel's brand.