<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def decrypt_attribute(attribute_name, attribute, decryption_key, algorithm):
 # type: (Text, dynamodb_types.RAW_ATTRIBUTE, DelegatedKey, Text) -> dynamodb_types.RAW_ATTRIBUTE """Decrypt a single DynamoDB attribute. :param str attribute_name: DynamoDB attribute name :param dict attribute: Encrypted DynamoDB attribute :param DelegatedKey encryption_key: DelegatedKey to use to encrypt the attribute :param str algorithm: Decryption algorithm descriptor (passed to encryption_key as algorithm) :returns: Plaintext DynamoDB attribute :rtype: dict """

    encrypted_attribute = attribute[Tag.BINARY.dynamodb_tag]
    decrypted_attribute = decryption_key.decrypt(
        algorithm=algorithm, name=attribute_name, ciphertext=encrypted_attribute
    )
    return deserialize_attribute(decrypted_attribute)