Applied fixed from code review
Optimization changes from code review.

Change-Id: Iaf5f85402b974cb52c2fbc36383207622e0392d6
Merge "Applied fixed from code review"
Merge "Optimization changes from code review."
Code review updates for metbk_a parser.