Switch common.retry around enforceState to 'retries' parameter

Related: PROD-26997 (PROD:26997)

Change-Id: I42938dd83c924e9895cdd92316c5078e15f927c1
(cherry picked from commit 331f2b6bc886349e0931eba51bca0cdf42a62b98)
2 files changed