The Hayes Code relaxed restrictions on certain issues related to sex the year before Peyton Place was released, and the filmmakers took that ball and ran with it.