As simple explanations of using trademarked or copyrighted material in your book, I recommend these brief articles. http://www.betternovelproject.com/blog/trademarks/
How to Use Brand Names in Your Fiction by Kathryn Goldman
The author uses examples from The Fault in Our Stars to illustrate when an author can safely use a brand name, and when to create a fake name or organization even if modeled on a real one. She covers three relevant points to consider:
She has a second article, Can You Use Other People’s Creative Work in Your Novel? Again using examples from The Fault in Our Stars, she discusses quoting poetry or talking about movies in your book.