[S] Change in pysim[master]: card_key_provider: refactor code and optimize out get_field method