Does word "line" have the same meaning in the following two sentences?

He has a smooth line but I didn't fall for it.

Toe the line.
different meanings