<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_meta_value_for(snapshot, key, default=None):
 """Returns the metadata value for the given key """

    metadata = get_snapshot_metadata(snapshot)
    return metadata.get(key, default)