i dont think the second sentense makes sense because there are too many verbs.
also the meaning of 'as' in the second sentense could be 'because' or 'since.'
i would rewrite like this;;;
As i have grown up, i realized who my real friends are.
or also
As we got older, i can figure out the difference between just friends and real friends.