I'm not a biologist or geneticists but from everything that I've read about cellular biology and genetics I get the strong feeling that there is a lot of encapsulation going on. Sure, it isn't 100% percent perfect but there is still encapsulation going on. Evolution would probably be way harder without it.
One hint is the human body, there are lots of encapsulations: eyes, heart, kidneys, digestive system, etc.
Evolution can repurpose an existing system for a completely different use with just some tweaking.
This is a bit off-topic but I think paleo-ontologists fall into a similar trap, at least based on popular writing about e.g. sharks. Claims that they haven't evolved in 100M years because they're the same shape as they used to be completely ignore all the other aspects of the shark that could change without affecting the overall shape.
If the evolutionary pressures on E (or C individually) are greater than on A, C could evolve completely out from under A to the point where A is no longer functional or foldable. As such, evolution can't "rely" on abstractions like "protein C" because their "source code" can be changed nonlocally and their function is dependent on very local conditions like temperature, pH, and surrounding molecules. Abstracting away g(h(i(x))) as f(x) in Mathematica is pointless when your packet sniffer can arbitrarily change the meaning of "h(x)" to "nop".