Oops BH be more precise:
The first it's as in "it's not foolproof" indicates the missing i, and is correct; the second it's in" it's (sic) constituent parts" is incorrect as it is or (it's) indicating the possessive and doesn't need an apostrophe.
At least I think that's correct as a mere scientist, perhaps English Master will confirm!
In playfully pedantic mood
