small refactoring of things related to wam score change
changed way to get serach name of a hub
Merge branch 'bugid-98999-code-review-3' into consumer-sprint32-bugid-51353