411.6. Some Game Effects may check if a player has performed a Game Action "with" a Game Object. In order to do so, the Game Action must be attributed to the spell or ability of that Game Object if necessary, the player must control that spell or the ability of that Game Object, and the player must be responsible for the Game Action.
411.6.a. Abilities granted via the effect text of a Game Object to another Game Object count for both Game Objects for this purpose.