Based on the memoir written by John Dean, who served as White House counsel to President Richard M. Nixon in the midst of the Watergate scandal.