When I was a YEC, and began to learn geology, there were many times I wished I had never gone into the geosciences. Or worse still would condemn me for trying to deal with the intellectual difficulties. I meant it at the time. The solution to such loss of faith is not to provide an intellectual framework for Christianity anymore than it is to provide marriage counseling or end poverty and disease or promoting mammon. While a scientific construct which fits observational fact into a coherent picture is most certainly not a cure for someone reeling from a bad marriage, it most certainly can be a cure for someone who is becoming intellectually convinced that the Bible is not true.
Different diseases require different drugs.
Between here and there my faith may be tested, but I intend to hold fast until the end. But that does not mean that my views of how to fit Genesis with Science will be vindicated, nor does it mean that the theistic evolutionist will be vindicated, nor does it mean that the YEC views will be vindicated. Our views of what God is trying to communicate are separate from what He is actually communicating. A case in point is the 1st century views of what the Messiah would be like and what he was actually like. While God was vindicated in His prophecies, a lot of diligent and dedicated, believing Jewish scholars were not.