A question regarding evolution
If the process of evolution is driven by completely random process...


It's not.  The evolution of "better" protein (and other) molecules happens because of selection, a very non-random process.  The repeated selection of better molecules, and then of the variants of the better molecules, repeated many times, will lead to "good" molecules (in the sense that they work better for their producers).