Of course that word was in there! Why do you think Louie, Louie was so popular. Every teenager bought that record, a single, just to hear the word.There’s a story I’ve seen from several sources that the drummer actually dropped his drumstick during the recording and yelled the F word, which you can faintly hear.
You have to remember that word was not tolerated anywhere in the mid-60s. You didn’t hear it in school, in popular music or jazz, on TV, in movies rated G or PG, and you could not get into an R rated movie without an adult ID. There were no streaming services. You had to physically go to a building, buy a ticket for a movie at a specific time.