Blender 2.9 scripting, how to get the name of the driven property
Use f_curve.data_pathand f_curve.array_index to get the property index in case of vectorized properties (like location, scale, etc.)
import bpy

if bpy.context.active_object and bpy.context.active_object.animation_data:
    for d in bpy.context.active_object.animation_data.drivers:
        print(bpy.context.active_object)
        print(f&quot;Driven property : {d.data_path}&quot;)
        print(f&quot;Property index : {d.array_index}&quot;)

Example :