Despite the commonality of "seven", "heart" and possibly "abomination" and the fact that both passages appear in Proverbs I would say that they are not the same.
I would compare the two passages as two pies (like in a pie graph) and each pie is cut into seven pieces. The first pie pieces are:
- a haughty look
- a lying tongue
- hands that shed innocent blood
- a heart that weaves wicked plots
- feet that hurry to do evil
- a false witness who lies with every breath
- one who sows dissension among brothers.
The sowing of discord being seventh might be being emphasized.
The second pie is also cut in 7 pieces but they are not identified.
So if you drew a line from the first pie from "heart that weaves wicked plots" over to the second pie the then seven pieces are seven evil plots. We might see in it perhaps an allusion to the plot of Haman and the plot of Joseph's brothers against him, etc. But they are not explicit in the passage.
It may be relevant that in Matthew's/Jesus' list of evils proceeding from the heart he lists seven:
Mat 15:17-20 KJV - 17 Do not ye yet understand, that whatsoever entereth in at the mouth goeth into the belly, and is cast out into the draught? 18 But those things which proceed out of the mouth come forth from the heart; and they defile the man. 19 For out of the heart proceed evil thoughts, murders, adulteries, fornications, thefts, false witness, blasphemies: 20 These are the things which defile a man: but to eat with unwashen hands defileth not a man.
See also Catholicism's list of Seven Deadly Sins:
pride, greed, wrath, envy, lust, gluttony and sloth.
https://en.wikipedia.org/wiki/Seven_deadly_sins