Your book sounds like BS to me. Yes, cooking does denature proteins. Think of an egg before and after you boil it.
On the other hand, it seems unlikely to me that the hydrochloric acid in your stomach doesn't also denature the hell out of proteins. In fact, your body probably has to denature proteins to get at the amino acids in them so it can build the precise proteins it needs.